\chapter{Starting PORN-OS}

First of all, you have to make sure you Simics installation is correctly placed. It must be at the root of your account in a folder named \textit{simics-workspace}. In other words, your installation has to be found there (\$\{USER\} being the name of your account):\\
\begin{center}
	/home/\$\{USER\}/simics-workspace 
\end{center}

Once you have checked the location of Simics, it is time to build the kernel. Go into the folder PORN-OS and type \textit{make clean} followed by \textit{make}. PORN-OS is delivered with a built executable but it is always better to recompile. However, you can skip this step, if you want to. Note that the compiler is the one we used for the tutorial, that is:\\
\begin{center}
	/it/sw/cross/mips-idt/bin/mips-idt-elf
\end{center}

Finally, type \textit{make run} to start PORN-OS inside Simics. If Simics is at the right place, it will start. Type \textit{c} to start the simulation. You can now see the message scrolling on the malta LCD and the shell waiting for input in the console.  
